package com.xiaozhen.common.core.exception;

/**
 * 非法请求异常
 * HISTORY
 *
 * @author zhenweisheng
 * @date 2021/10/8 13:36
 * @description:
 */
public class IllegalRequestException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    private Integer code = 500;

    private String message = "非法请求";

    @Override
    public String getMessage() {
        return message;
    }

    public Integer getCode() {
        return code;
    }
}
